#ifndef INTELLIGENT_COMMUNITY_H
#define INTELLIGENT_COMMUNITY_H
#include <QMouseEvent>
#include <QTimer>
#include <QWidget>

QT_BEGIN_NAMESPACE
namespace Ui {
class intelligent_community;
}
QT_END_NAMESPACE

class intelligent_community : public QWidget
{
    Q_OBJECT

public:
    intelligent_community(QWidget *parent = nullptr);
    ~intelligent_community();
    void initUI();

protected:
    bool eventFilter(QObject *obj, QEvent *event);
    void PushButtonConnect();

private slots:
    void on_pushButton_close_clicked();

private:
    Ui::intelligent_community *ui;
    bool isLongPress;
    QPoint pressPos;
};
#endif // INTELLIGENT_COMMUNITY_H
